Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix assertions on const lint #4406

Closed
wants to merge 2 commits into from
Closed

Conversation

tesuji
Copy link
Contributor

@tesuji tesuji commented Aug 17, 2019

Replaces #4402
changelog: none

@phansch
Copy link
Member

phansch commented Aug 18, 2019

@bors r+ thanks!

@bors
Copy link
Contributor

bors commented Aug 18, 2019

📌 Commit 533bdfb has been approved by phansch

@bors
Copy link
Contributor

bors commented Aug 18, 2019

⌛ Testing commit 533bdfb with merge 0897f92...

bors added a commit that referenced this pull request Aug 18, 2019
Fix assertions on const lint

Replaces #4402
changelog: none
@bors
Copy link
Contributor

bors commented Aug 18, 2019

💔 Test failed - status-appveyor

@tesuji
Copy link
Contributor Author

tesuji commented Aug 18, 2019

Failed because of rust-lang/rust#61708

@phansch
Copy link
Member

phansch commented Aug 18, 2019

Failed because of rust-lang/rust#61708

Yes, looks like we have to add support for Or patterns now. It shouldn't be too difficult to get Clippy to pass tests again, because we don't have any Or pattern tests yet.
Don't worry about fixing the author lint correctly, that can just print unimplemented for now.

bors added a commit that referenced this pull request Aug 18, 2019
Fix breakage due to  rust-lang/rust#61708

Includes commits from #4406

changelog: none
@flip1995
Copy link
Member

Thanks, closing in favor of #4407

@flip1995 flip1995 closed this Aug 18, 2019
@tesuji tesuji deleted the fix-assert-const branch August 18, 2019 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants